package com.lwkjgf.workplace.base;


/**
 * presenter 基类
 * creaate by wind
 *
 */

public class BasePresenter<T extends IBaseView> implements IBasePresenter {

    protected T mView;

    public void detachView(){
        if( mView != null){
            mView = null;
        }
    }

    @Override
    public void attachView(IBaseView view) {
        this.mView = (T) view;

    }


}
